package com.atguigu.lease.web.admin.mapper;

import com.atguigu.lease.model.entity.ApartmentFeeValue;
import com.atguigu.lease.web.admin.vo.FeeValueVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 1
* @description 针对表【apartment_fee_value(公寓&杂费关联表)】的数据库操作Mapper
* @createDate 2024-08-28 11:00:25
* @Entity com.atguigu.lease.model.entity.ApartmentFeeValue
*/
public interface ApartmentFeeValueMapper extends BaseMapper<ApartmentFeeValue> {

    void deleteByApartmentInfoId(Long id);

    void insertBatch(@Param("id") Long id, @Param("feeValueIds") List<Long> feeValueIds);

    List<FeeValueVo> selectFeeValueVosByApartmentId(Long apartmentId);
}




